﻿<UserControl x:Class="Remember.WPF.Views.BookEdit"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="480" d:DesignWidth="800" Width="800" Height="480">
    <Grid>
        <Label Content="Book Name" Height="28" HorizontalAlignment="Left" Margin="29,12,0,0" Name="label2" VerticalAlignment="Top" Width="90" />
        <TextBox Height="30" HorizontalAlignment="Left" Margin="117,10,0,0" Name="uiName" TextWrapping="WrapWithOverflow" VerticalAlignment="Top" Width="441" />
        <TextBox Height="60" HorizontalAlignment="Left" Margin="117,49,0,0" Name="uiDesc" TextWrapping="WrapWithOverflow" VerticalAlignment="Top" Width="441" />
        <Label Content="Description" Height="28" HorizontalAlignment="Left" Margin="29,47,0,0" Name="label3" VerticalAlignment="Top" Width="90" />
        <TextBox Height="30" HorizontalAlignment="Left" Margin="117,121,0,0" Name="uiSound" VerticalAlignment="Top" Width="320" />
        <Label Content="Book Sound" Height="28" Margin="29,120,0,0" Name="label5" VerticalAlignment="Top" HorizontalAlignment="Left" Width="90" />
        <Button Content="..." Height="30" HorizontalAlignment="Left" Margin="438,121,0,0" Name="btnSoundFileBrowser" VerticalAlignment="Top" Width="30" />
        <Button Content="Save" Height="42" HorizontalAlignment="Right" Margin="0,0,160,10" Name="btnSave" VerticalAlignment="Bottom" Width="120" Click="btnSave_Click" FontSize="20" />
        <Button Content="Create" Height="42" HorizontalAlignment="Right" Margin="0,0,300,10" Name="btnCreate" VerticalAlignment="Bottom" Width="120" Click="btnCreate_Click" FontSize="20" />
        <Button Content="Exit" Height="42" HorizontalAlignment="Right" Margin="0,0,30,11" Name="btnExit" VerticalAlignment="Bottom" Width="100" Click="btnExit_Click" FontSize="20" />
        <ListBox Height="341" HorizontalAlignment="Left" Margin="576,47,0,0" Name="listLessons" VerticalAlignment="Top" Width="200" SelectionChanged="listLessons_SelectionChanged" />
        <TabControl Height="221" HorizontalAlignment="Left" Margin="36,170,0,0" Name="tabControl1" VerticalAlignment="Top" Width="522">
            <TabItem Header="Import Lessons From Lrc" Name="tabItemLrc">
                <Grid>
                    <Button Content="Import From Lrc" Height="30" HorizontalAlignment="Left" Margin="355,121,0,0" Name="btnImportFromLrc" VerticalAlignment="Top" Width="118" Click="btnImportFromLrc_Click" />
                    <TextBox Height="30" Margin="30,75,0,0" Name="uiImportSource" VerticalAlignment="Top" HorizontalAlignment="Left" Width="412" TextChanged="uiImportSource_TextChanged" />
                    <Button Content="..." Height="30" HorizontalAlignment="Left" Margin="443,75,0,0" Name="btnImportSourceBrowser" VerticalAlignment="Top" Width="30" Click="btnImportSourceBrowser_Click" HorizontalContentAlignment="Center" VerticalContentAlignment="Top" />
                    <Label Content="The Folder of the Lrc and mp3 files" Height="28" HorizontalAlignment="Left" Margin="30,43,0,0" Name="label9" VerticalAlignment="Top" Width="260" />
                </Grid>
            </TabItem>
            <TabItem Header="Create Lession">
                <Grid>
                    <TextBox Height="30" Name="uiLessonName" TextWrapping="WrapWithOverflow" Width="283" TextChanged="uiLessonName_TextChanged" Margin="114,24,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" />
                    <TextBox Height="30" HorizontalAlignment="Left" Margin="114,62,0,0" Name="uiLessonDesc" TextWrapping="WrapWithOverflow" VerticalAlignment="Top" Width="283" />
                    <Label Content="Lesson Name" Height="30" HorizontalAlignment="Left" Margin="17,24,0,0" Name="label6" VerticalAlignment="Top" />
                    <Label Content="Lesson Subject" Height="28" HorizontalAlignment="Left" Margin="17,60,0,0" Name="label7" VerticalAlignment="Top" />
                    <Button Content="Save Lesson" Height="30" HorizontalAlignment="Left" Margin="276,110,0,0" Name="btnLessonSave" VerticalAlignment="Top" Width="120" Click="btnLessonSave_Click" />
                    <Button Content="Create Lesson" Height="30" HorizontalAlignment="Left" Margin="113,110,0,0" Name="btnLessonCreate" VerticalAlignment="Top" Width="120" Click="btnLessonCreate_Click" />
                    
                </Grid>
            </TabItem>
            <TabItem Header="Batch create lessons">
                <Grid>
                    <TextBox Height="30" HorizontalAlignment="Left" Margin="98,28,0,0" Name="uiLessonStart" VerticalAlignment="Top" Width="26" Text="1" />
                    <Label Content="Num Start" Height="29" HorizontalAlignment="Left" Margin="22,28,0,0" Name="label1" VerticalAlignment="Top" Width="70" />
                    <Label Content="Number End" Height="25" HorizontalAlignment="Left" Margin="130,28,0,0" Name="label4" VerticalAlignment="Top" Width="82" />
                    <TextBox Height="30" HorizontalAlignment="Left" Margin="213,28,0,0" Name="uiLessonEnd" VerticalAlignment="Top" Width="37" Text="10" />
                    <Button Content="Batch Create Lessons" Height="30" HorizontalAlignment="Left" Margin="178,112,0,0" Name="btnBatCreateLesson" VerticalAlignment="Top" Width="200" />
                </Grid>
    </TabItem>
            <TabItem Header="Import From Book File" Name="tabItem1">
                <Grid>
                    <Button Content="Import From Book Files" Height="30" HorizontalAlignment="Left" Margin="294,102,0,0" Name="btnImportFromBookFiles" VerticalAlignment="Top" Width="171" Click="btnImportFromBookFiles_Click" />
                    <TextBox Height="30" HorizontalAlignment="Left" Margin="22,56,0,0" Name="textBox1" VerticalAlignment="Top" Width="412" />
                    <Button Content="..." Height="30" HorizontalAlignment="Left" HorizontalContentAlignment="Center" Margin="435,56,0,0" Name="btnImportFromBookFilesBrowser" VerticalAlignment="Top" VerticalContentAlignment="Top" Width="30" Click="btnImportFromBookFilesBrowser_Click" />
                    <Label Content="Please select the book files" Height="28" HorizontalAlignment="Left" Margin="22,24,0,0" Name="label10" VerticalAlignment="Top" Width="260" />
                </Grid>
            </TabItem>
        </TabControl>
        <Label Content="Lesson List" Height="28" HorizontalAlignment="Left" Margin="576,10,0,0" Name="label8" VerticalAlignment="Top" Width="200" />
    </Grid>
</UserControl>
